package cn.kgc.tangcco.tcbd1011.bigredbook.tbuser.service;

import java.util.List;

import cn.kgc.tangcco.tcbd1011.bigredbook.pageresult.PageResult;
import cn.kgc.tangcco.tcbd1011.bigredbook.tbuser.entity.Tbuser;

public interface UserService {
	Tbuser login(Tbuser user);
	int addUser(Tbuser user);
	int updateUser(Tbuser user);
	int deleteUser(int pk);
	List<Tbuser> queryAllUser(Tbuser user,PageResult pages);
	Tbuser detailUser(int pk);
	int queryCountUser(Tbuser user);
	Tbuser queryUserByUsername(String username);

}
